# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: xguo

import datetime
from coin.exchange.hitbtc_v2.order_gateway import HitbtcOrderGateway
from coin.strategy.mm.subscription import SubscriptionRequest
from coin.strategy.mm.base.order_subsystem import BaseOrderSubsystem


class HitbtcOrderSubsystem(BaseOrderSubsystem):
  OrderGateway = HitbtcOrderGateway
  OrderSubReq = SubscriptionRequest('Spot', 'Hitbtc', None)
  _use_og_params = True
  _delay_notify_order_gateway_reset = datetime.timedelta(seconds=5)
